home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Eagles Nest BBS 1
/
Eagles_Nest_Mac_Collection_Disc_1.TOAST
/
System & Related
/
UNIXNut#2
/
Shells
/
card_18774.txt
< prev
next >
Wrap
Text File
|
1989-06-08
|
2KB
|
84 lines
-- card: 18774 from stack: in
-- bmap block id: 19055
-- flags: 0000
-- background id: 14368
-- name: case
-- part 1 (field)
-- low flags: 01
-- high flags: 2002
-- rect: left=40 top=89 right=110 bottom=120
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Command Name
----- HyperTalk script -----
on mouseUp
if the optionKey is down then
go to previous card of this background
else
go to next card of this background
end if
end mouseUp
-- part 2 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=151 top=89 right=154 bottom=439
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: syntax
-- part 4 (field)
-- low flags: 01
-- high flags: 2002
-- rect: left=38 top=163 right=305 bottom=439
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 20
-- text size: 14
-- style flags: 0
-- line height: 18
-- part name: Description
-- part contents for background part 7
----- text -----
Bourne Shell Commands
-- part contents for card part 1
----- text -----
case
-- part contents for background part 20
----- text -----
case
-- part contents for card part 2
----- text -----
case value in
pattern [| pattern] ) cmd;;
pattern [ | pattern] ) cmd;;
esac
-- part contents for card part 4
----- text -----
Execute each cmd for which value matches the specified pattern. If a second pattern is specified (preceded by a | ), execute cmd if value matches either pattern. Patterns can use file generation metacharacters.
-- part contents for background part 9
----- text -----
13 of 43